package javabean;

public class Account {
    private Integer id;
    private Integer accountId;
    private Integer points;
    private Integer ifReserve;

    @Override
    public String toString() {
        return "Account{" +
                "id=" + id +
                ", accountId=" + accountId +
                ", points=" + points +
                ", ifReserve=" + ifReserve +
                ", tableId=" + tableId +
                '}';
    }

    private Integer tableId;

    public Account() {
    }

    public Account(Integer id, Integer accountId, Integer points, Integer ifReserve, Integer tableId) {

        this.id = id;
        this.accountId = accountId;
        this.points = points;
        this.ifReserve = ifReserve;
        this.tableId = tableId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAccountId() {
        return accountId;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public Integer getPoints() {
        return points;
    }

    public void setPoints(Integer points) {
        this.points = points;
    }

    public Integer getIfReserve() {
        return ifReserve;
    }

    public void setIfReserve(Integer ifReserve) {
        this.ifReserve = ifReserve;
    }

    public Integer getTableId() {
        return tableId;
    }

    public void setTableId(Integer tableId) {
        this.tableId = tableId;
    }
}
